Skip to content

feat: add --quiet flag to cli for suppressing output#208

Merged
amoeba merged 2 commits into
columnar-tech:mainfrom
amoeba:feat/install-uninstall-quiet
Dec 11, 2025
Merged

feat: add --quiet flag to cli for suppressing output#208
amoeba merged 2 commits into
columnar-tech:mainfrom
amoeba:feat/install-uninstall-quiet

Conversation

@amoeba
Copy link
Copy Markdown
Member

@amoeba amoeba commented Nov 14, 2025

Adds a global CLI flag, --quiet (-q for short) that, when set, completely suppresses output (i.e., stdout). Also includes updates to keep the docs in sync.

Command line tools use a variety of methods to enable/disable or enhance/reduce output and there's not really a clear best way to do this. The GNU standard suggests --quiet and for the flag to suppress "usual" output. curl takes a different approach with --silent which means "print just my final results, not any progress". uv uses -q to reduce output and -qq to completely disable output.

This does not include tests because I think it would add quite a bit of noise for not much gain.

Closes #202

@amoeba amoeba requested review from ianmcook and zeroshade November 14, 2025 00:19
@amoeba
Copy link
Copy Markdown
Member Author

amoeba commented Nov 14, 2025

For reviewers, if we wanted to go the uv route with -q/-qq,

  • -q could suppress bubbletea output and only print what we call "final" output
  • -qq could then suppress all output, bubbletea and final

Copy link
Copy Markdown
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just needs the addition to the shell completion scripts

@amoeba
Copy link
Copy Markdown
Member Author

amoeba commented Dec 11, 2025

I sync'd completions and tested fish locally.

Re: the -q vs. -qq idea above, I don't feel we really need two levels of quiet right now so I'm going to leave this PR with just --quiet/-q.

@amoeba amoeba merged commit 275193b into columnar-tech:main Dec 11, 2025
10 checks passed
zeroshade pushed a commit that referenced this pull request Apr 17, 2026
Adds a global CLI flag, `--quiet` (`-q` for short) that, when set,
completely suppresses output (i.e., stdout). Also includes updates to
keep the docs in sync.

Command line tools use a variety of methods to enable/disable or
enhance/reduce output and there's not really a clear best way to do
this. The [GNU
standard](https://www.gnu.org/prep/standards/standards.html#Option-Table)
suggests `--quiet` and for the flag to suppress "usual" output. curl
takes a different approach with `--silent` which means "print just my
final results, not any progress". [uv uses
`-q`](https://docs.astral.sh/uv/reference/cli) to reduce output and
`-qq` to completely disable output.

This does not include tests because I think it would add quite a bit of
noise for not much gain.

Closes #202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a --quiet flag into the install command

2 participants